package com.fc.service;

import java.util.List;

import com.fc.entities.Activity;
import com.fc.entities.ActivityGroup;
import com.fc.entities.User;

public interface ActivityService extends BaseService<Activity> {
	Activity findByName(String name);

	List<String> findAllNames();

	List<Activity> findAllByGroup(ActivityGroup group);

	List<Activity> findAllByUser(User user);

	List<Activity> findAllByGroupAndUser(ActivityGroup group, User user);

	List<Activity> findAllDefault();

	List<Activity> findAllDefaultByGroup(ActivityGroup group);
	
	void delete(Activity activity);
	
	Activity create(Activity activity);
	
	Activity save(Activity activity);
}
